/*************************************************************************
*																		 *
*				code by Miles Chen (v-mich) 2007.10.13					 *
*																		 *
*																		 *
*************************************************************************/

#pragma once


namespace System{namespace Windows{namespace Forms{
	namespace UIAutomation{

		BOOL CALLBACK EnumThreadWindowProc(HWND hWnd, LPARAM lParam);

		BOOL GetProcessMainWindowHandle(LPPROCESS_INFORMATION ppi, LPCWSTR lpszClass, LPCWSTR lpszCaption, OUT HWND* handle);

		BOOL GetFirstChildHandle(HWND hwndParent, OUT HWND* handle);

		BOOL GetChildHandle(HWND hwndParent, int nIDDlgItem, OUT HWND* handle);

		BOOL WaitForEnable(HWND hWnd);

	}}}}


